//
//  QMQCPublicViewController.m
//  QcMedical1
//
//  Created by 仲启明 on 2016/12/22.
//  Copyright © 2016年 jiawen Du. All rights reserved.
//

#import "QMQCPublicViewController.h"

@interface QMQCPublicViewController ()

@end

@implementation QMQCPublicViewController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self setupUI];
}

- (void)setupUI
{
    UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 200, 44)];
    
    
    titleLabel.textAlignment = NSTextAlignmentCenter;
    
    
    titleLabel.text =  @"公益";
    
    titleLabel.font = [UIFont fontWithName:@"CloudShuiZhuGBK" size:18];
    self.navigationItem.titleView = titleLabel;
    UIWebView *webView = [[UIWebView alloc] initWithFrame:self.view.bounds];
    
    
    [self.view addSubview:webView];
    
    NSString *urlString = @"http://202.106.210.115:18080/hyde-pluto-h360/nt/appEntrance.htm";

    NSURL *url = [NSURL URLWithString:urlString];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [webView loadRequest:request];
    
}


@end
